$(function(){
    laydate.render({
        elem: '[name=startDate]'
    });
    laydate.render({
        elem: '[name=endDate]'
    });
});
function search() {
   var param={};
   param.name=$("[name=name]").val();
   param.startDate=$("[name=startDate]").val();
   param.endDate=$("[name=endDate]").val();
    $("#userTb").bootstrapTable("refresh",{query:param});
}
function queryParams(param){
    param.name=$("[name=name]").val();
    param.startDate=$("[name=startDate]").val();
    param.endDate=$("[name=endDate]").val();
    return param;
}